package com.jeecms.util;

import java.io.InputStream;
import java.util.Properties;

public class PropertiesUtil {

	public static String getValue(String key) {
		
		Properties properties = new Properties();
		InputStream inputStream = PropertiesUtil.class.getResourceAsStream("/jeecms.properties");
		
		try {
			properties.load(inputStream);
		} catch (Exception e) {
			e.getMessage();
		}
		
		return properties.getProperty(key);
	}
}
